Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 17 Jul 2006 20:59:54 +0000 (20:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 17 Jul 2006 20:59:54 +0000 (20:59 +0000)
src/dispnew.c

index a0dc95a2ba8905f8be61de71d7e56224fe7da239..43c35243281a46266ae5921ac20c98ff891be84f 100644 (file)
@@ -6827,12 +6827,12 @@ For types not defined in VMS, use  define emacs_term \"TYPE\".\n\
 \(The quotation marks are necessary since terminal types are lower case.)\n");
 #else /* not VMS */
 
-#ifdef HAVE_WINDOW_SYSTEM
-      if (inhibit_window_system)
-       fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n");
+#ifndef HAVE_WINDOW_SYSTEM
+      if (inhibit_window_system)
+       fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n");
       else
 #endif /* HAVE_WINDOW_SYSTEM */
-       fprintf (stderr, "Please set the environment variable DISPLAY or TERM (see `tset').\n");
+       fprintf (stderr, "Please set the environment variable TERM; see `tset'.\n");
 #endif /* not VMS */
       exit (1);
     }